package com.kaifamiao.date1111;

public abstract class Torpedo {
	
	// 静态工厂方法
	public static Torpedo getInstance() {
		// 创建Torpedo类的非抽象子类的实例
		return new KaifamiaoTorpedo();
	}
	
	public abstract void blast();

}
